package net.zhengxinyun.performance.App.dto;

import net.zhengxinyun.performance.filter.DepartmentFilter;
import net.zhengxinyun.performance.filter.RolePerFilter;
import net.zhengxinyun.performance.filter.UserFilter;

/**
 * 系统设置DTO
 */
public class SystemDTO {
    private Long id;
    private String name;
    private String funcTitle;
    private String datetime;
    private String funcCode;
    private String userPhone; // 选择用户的手机号，或者想要搜索的手机号；
    private DepartmentFilter deprtInfo;
    private UserFilter userInfo;
    private RolePerFilter roleInfo;
    private int loginTimes;
    private String loginTel;  //登陆者手机号
    private String del;

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del;
    }

    public String getLoginTel() {
        return loginTel;
    }

    public void setLoginTel(String loginTel) {
        this.loginTel = loginTel;
    }

    public int getLoginTimes() {
        return loginTimes;
    }

    public void setLoginTimes(int loginTimes) {
        this.loginTimes = loginTimes;
    }

    public SystemDTO() {
    }

    public SystemDTO(Long id, String name, String funcTitle, String funcCode) {
        this.id = id;
        this.name = name;
        this.funcTitle = funcTitle;
        this.funcCode = funcCode;
    }

    public SystemDTO(Long id, String name, String funcTitle, String funcCode,DepartmentFilter deprtInfo) {
        this.id = id;
        this.name = name;
        this.funcTitle = funcTitle;
        this.funcCode = funcCode;
        this.deprtInfo = deprtInfo;
    }

    public SystemDTO(Long id, String name, String funcTitle, String funcCode, String userPhone, int loginTimes,String del) {
        this.id = id;
        this.name = name;
        this.funcTitle = funcTitle;
        this.funcCode = funcCode;
        this.userPhone = userPhone;
        this.loginTimes= loginTimes;
        this.del= del;
    }



    public SystemDTO(Long id, String name, String funcTitle,  String funcCode,RolePerFilter roleInfo) {
        this.id = id;
        this.name = name;
        this.funcTitle = funcTitle;
        this.funcCode = funcCode;
        this.roleInfo = roleInfo;
    }

    public SystemDTO(Long id, String name, String funcTitle, String datetime, String funcCode) {
        this.id = id;
        this.name = name;
        this.funcTitle = funcTitle;
        this.datetime = datetime;
        this.funcCode = funcCode;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFuncTitle() {
        return funcTitle;
    }

    public void setFuncTitle(String funcTitle) {
        this.funcTitle = funcTitle;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getFuncCode() {
        return funcCode;
    }

    public void setFuncCode(String funcCode) {
        this.funcCode = funcCode;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public DepartmentFilter getDeprtInfo() {
        return deprtInfo;
    }

    public void setDeprtInfo(DepartmentFilter deprtInfo) {
        this.deprtInfo = deprtInfo;
    }

    public UserFilter getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserFilter userInfo) {
        this.userInfo = userInfo;
    }

    public RolePerFilter getRoleInfo() {
        return roleInfo;
    }

    public void setRoleInfo(RolePerFilter roleInfo) {
        this.roleInfo = roleInfo;
    }
}
